package com.zhuchaooasystem.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @author yinsi
 */

public class AudioInfo implements Parcelable {

    private String FilePath;
    private String often;

    public AudioInfo(String FilePath, String often) {
        this.FilePath = FilePath;
        this.often = often;
    }

    public String getFilePath() {
        return FilePath;
    }

    public void setFilePath(String filePath) {
        FilePath = filePath;
    }

    public String getOften() {
        return often;
    }

    public void setOften(String often) {
        this.often = often;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.FilePath);
        dest.writeString(this.often);
    }

    protected AudioInfo(Parcel in) {
        this.FilePath = in.readString();
        this.often = in.readString();
    }

    public static final Creator<AudioInfo> CREATOR = new Creator<AudioInfo>() {
        @Override
        public AudioInfo createFromParcel(Parcel source) {
            return new AudioInfo(source);
        }

        @Override
        public AudioInfo[] newArray(int size) {
            return new AudioInfo[size];
        }
    };
}
